package Model;

import java.io.Serializable;

import Messaging.Notification;
import Messaging.NotificationManager;

/*
 * @author Mark de Lira
 */


public class SpaceUnowned extends SpaceState implements Serializable{

	private static SpaceUnowned INSTANCE = null;
	final static long serialVersionUID = 221;
	
	protected SpaceUnowned() {
	}
	
	public static SpaceState Instance() {
		if (INSTANCE == null) {
			INSTANCE = new SpaceUnowned();
		}
		
		return INSTANCE;
	}
	
	public void landOn(Player player, PropertySpace property) {
		NotificationManager.getInstance().notifyObservers(Notification.UNOWNED_PROPERTY, property);
	}
	
	public String toString() {
		return "SpaceUnowned";
	}
}
